package com.dz.risk.pojo.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 自营估值债券持仓信息-上游数据
 * 
 * @author yinpl
 * @email 
 * @date 2021-07-09 15:20:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
@ExcelTarget("proprietaryValuationOfBondHoldingsInformationEntityList")
@TableName(value = "t_st_proprietary_valuation_of_bond_holdings_information", autoResultMap = true)
@ApiModel(value = "自营估值债券持仓信息实体")
public class ProprietaryValuationOfBondHoldingsInformationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 日期
	 */
	@TableId
	@Excel(name = "日期")
	@ApiModelProperty(value = "日期")
	private Long initDate;
	/**
	 * 证券代码
	 */
	@Excel(name = "证券代码")
	@ApiModelProperty(value = "证券代码")
	private String stockCode;
	/**
	 * 证券简称
	 */
	@Excel(name = "证券简称")
	@ApiModelProperty(value = "证券简称")
	private String abbreviationOfSecurities;
	/**
	 * 全价市值
	 */
	@Excel(name = "全价市值")
	@ApiModelProperty(value = "全价市值")
	private BigDecimal fullValue;
	/**
	 * 减值金额
	 */
	@Excel(name = "部门")
	@ApiModelProperty(value = "部门")
	private BigDecimal amountOfImpairment;

}
